Wraps a nkTasks::ThreadSubmittedWork and offers functions for use in scripting. More...
Static Public Member Functions | |
| static void | updateEnvironment (nkScripts::Environment *env) |
| static void | destructor (void *toDestroy) |
| static nkScripts::OutputValue | cancel (const nkScripts::DataStack &stack) |
Wraps a nkTasks::ThreadSubmittedWork and offers functions for use in scripting.
|
static |
Updates a given environment and set it up to use all functions wrapped by this wrapper.
| env | The environment to set up. |
|
static |
Wrapper function for the destructor of the user type.
| toDestroy | The data that has to be freed. |
|
static |
Wrapper function for nkTasks::ThreadSubmittedWork::cancel().
| stack | The parameter stack. |